package com.nuc.zyt.day04.demo.GrabRedEnvelopes;

/**
 * @ClassName GrabRedEnvelopes
 * @Description TODO
 * @Author 耀酱
 * @Date 2023/5/30 15:22
 * @Version 1.0
 */

public class GrabRedEnvelopes {
    public static void main(String[] args) {

        RedEnvelopes redEnvelopes1 = new RedEnvelopes();
        RedEnvelopes redEnvelopes2 = new RedEnvelopes();
        RedEnvelopes redEnvelopes3 = new RedEnvelopes();
        RedEnvelopes redEnvelopes4 = new RedEnvelopes();
        RedEnvelopes redEnvelopes5 = new RedEnvelopes();

        redEnvelopes1.setName("a");
        redEnvelopes2.setName("b");
        redEnvelopes3.setName("c");
        redEnvelopes4.setName("d");
        redEnvelopes5.setName("e");

        redEnvelopes1.start();
        redEnvelopes2.start();
        redEnvelopes3.start();
        redEnvelopes4.start();
        redEnvelopes5.start();


    }
}
